package com.qiqitrue.caipiao.lottery.model;

import java.io.Serializable;

public class Lottery implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	/**
	 * 地区
	 */
	private String region;

	/**
	 * 机构
	 */
	private String mechanism;

	/**
	 * 彩种编号
	 */
	private String lotCode;

	/**
	 * 彩种
	 */
	private String lotName;

	/**
	 * 彩种=地区(region)+彩种(lotName)
	 */
	private String name;

	/**
	 * 期号
	 */
	private String preDrawIssue;

	/**
	 * 开奖号码
	 */
	private String preDrawCode;
	
	/**
	 * 更新时间(开奖时间)
	 */
	private String drawTime;
	
	/**
	 * 说明
	 */
	private String explain;

	/**
	 * 开奖星期(全国、地方) 开奖分钟(高频)
	 */
	private String lotteryInterval;

	/**
	 * 每周期数(地方) 每日期数(高频)
	 */
	private String totalCount;

	public Lottery() {
	}

	public Lottery(String region, String mechanism, String lotName, String lotCode, String preDrawIssue,
			String explain) {
		super();
		this.region = region;
		this.mechanism = mechanism;
		this.lotName = lotName;
		this.lotCode = lotCode;
		this.preDrawIssue = preDrawIssue;
		this.explain = explain;
	}
	
	/**
	 * 
	 * @param region 地区
	 * @param mechanism 机构
	 * @param lotCode 彩种编号
	 * @param lotName 彩种名称
	 * @param name 彩种=地区(region)+彩种(lotName)
	 * @param preDrawIssue 期号
	 * @param preDrawCode 开奖号码
	 * @param explain 说明
	 * @param drawTime 更新时间(开奖时间)
	 */
	public Lottery(String region, String mechanism, String lotCode, String lotName, String name, String preDrawIssue,
			String preDrawCode, String explain, String drawTime) {
		super();
		this.region = region;
		this.mechanism = mechanism;
		this.lotCode = lotCode;
		this.lotName = lotName;
		this.name = name;
		this.preDrawIssue = preDrawIssue;
		this.preDrawCode = preDrawCode;
		this.explain = explain;
		this.drawTime = drawTime;
	}
	
	@Override
	public String toString() {
		return "Lottery [region=" + region + ", mechanism=" + mechanism + ", lotCode=" + lotCode + ", lotName="
				+ lotName + ", name=" + name + ", preDrawIssue=" + preDrawIssue + ", preDrawCode=" + preDrawCode
				+ ", drawTime=" + drawTime + ", explain=" + explain + ", lotteryInterval=" + lotteryInterval
				+ ", totalCount=" + totalCount + "]";
	}

	public String getRegion() {
		return region;
	}

	public void setRegion(String region) {
		this.region = region;
	}

	public String getMechanism() {
		return mechanism;
	}

	public void setMechanism(String mechanism) {
		this.mechanism = mechanism;
	}

	public String getLotCode() {
		return lotCode;
	}

	public void setLotCode(String lotCode) {
		this.lotCode = lotCode;
	}

	public String getLotName() {
		return lotName;
	}

	public void setLotName(String lotName) {
		this.lotName = lotName;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPreDrawIssue() {
		return preDrawIssue;
	}

	public void setPreDrawIssue(String preDrawIssue) {
		this.preDrawIssue = preDrawIssue;
	}

	public String getPreDrawCode() {
		return preDrawCode;
	}

	public void setPreDrawCode(String preDrawCode) {
		this.preDrawCode = preDrawCode;
	}

	public String getDrawTime() {
		return drawTime;
	}

	public void setDrawTime(String drawTime) {
		this.drawTime = drawTime;
	}

	public String getExplain() {
		return explain;
	}

	public void setExplain(String explain) {
		this.explain = explain;
	}

	public String getLotteryInterval() {
		return lotteryInterval;
	}

	public void setLotteryInterval(String lotteryInterval) {
		this.lotteryInterval = lotteryInterval;
	}

	public String getTotalCount() {
		return totalCount;
	}

	public void setTotalCount(String totalCount) {
		this.totalCount = totalCount;
	}
	
}
